package cn.tedu.straw.commons.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author shkstart
 * @create 2020-07-28 16:14
 */
@Data
@Accessors(chain = true)
public class AnswerDTO {
    @NotNull(message = "问题id不允许为空!")
    private Integer questionId;
    @NotBlank(message = "必须填写回复的内容!")
    private String content;
}
